how to create inventory Management system in c